package com.lovo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;

/**
 * <p>
 * ????????ϸ?
 * </p>
 *
 * @author lovo
 * @since 2022-09-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Detail extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "infoId", type = IdType.AUTO)
    private Integer infoid;

    @TableField("goodsId")
    private Integer goodsid;

    private String dSize;

    private String dBatch;

    private String dTime = String.valueOf(LocalDate.now());

    private String dCode;

    @TableField("goodsName")
    private String goodsname;

    private Integer num;

    private Integer dPrice;

    private String dType;

}
